package com.yxinsur.imc.business.events.event;

import com.yxinsur.imc.business.domain.ImcBroker;
import org.springframework.context.ApplicationEvent;


/**
 * 代理人录入事件
 * @author imc
 *
 */
public class BrokerCreateEvent extends ApplicationEvent {
    private String msg;

    private ImcBroker broker;

    public BrokerCreateEvent(Object source,String msg,ImcBroker broker) {
        super(source);
        this.msg=msg;
        this.broker=broker;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public ImcBroker getBroker() {
        return broker;
    }

    public void setBroker(ImcBroker broker) {
        this.broker = broker;
    }
}
